package com.yss.shopping.user.vo.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yss.shopping.security.vo.PrivilegeMenuVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@ApiModel("登录用户OutVO对象")
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LoginUserOutVO {

    @ApiModelProperty("tokenHead")
    private String tokenHead;

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("用户账号")
    private String userName;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户邮箱")
    private String email;

    @ApiModelProperty("头像路径")
    private String headImgUrl;

    @ApiModelProperty("用户权限CODE列表")
    private List<String> menuCodeList;


}
